module.exports = {
  value: {
    type: [Boolean, String, Number],
    default: [],
    name: '选定值',
    filedType: 'value'
  },

  multiple: {
    type: String,
    default: false,
    name: '开启多选',
    filedType: 'switch'
  },

  size: {
    type: String,
    default: 'small',
    name: '输入框尺寸',
    filedType: 'select',
    options: [
      {
        name: '小尺寸',
        value: 'small'
      },
      {
        name: '中尺寸',
        value: 'medium'
      },
      {
        name: 'mini',
        value: 'mini'
      }
    ]
  },

  placeholder: {
    type: String,
    default: '请选择',
    name: '占位文本',
    filedType: 'string'
  },

  filterable: {
    type: Boolean,
    default: true,
    name: '是否可搜索',
    filedType: 'switch'
  },

  color: {
    type: String,
    default: '#333',
    name: '文本颜色',
    filedType: 'color'
  },

  bgColor: {
    type: String,
    default: '#ffffff',
    name: '背景色',
    filedType: 'color'
  },

  borderColor: {
    type: String,
    default: '#e4e7ed',
    name: '边框色',
    filedType: 'color'
  },

  dropdownBgColor: {
    type: String,
    default: '#ffffff',
    name: '下拉框背景色',
    filedType: 'color'
  },

  dropdownBorderColor: {
    type: String,
    default: '#e4e7ed',
    name: '下拉框边框色',
    filedType: 'color'
  },

  dropdownItemHoverBg: {
    type: String,
    default: '#f5f7fa',
    name: '下拉选项滑过背景',
    filedType: 'color'
  },

  dropdownItemHoverTextColor: {
    type: String,
    default: '#666666',
    name: '下拉选项滑过文本颜色',
    filedType: 'color'
  },

  options: {
    type: Array,
    default () {
      return [
        {
          label: '列表项1',
          value: '1'
        },
        {
          label: '列表项2',
          value: '2'
        }
      ]
    },
    name: '下拉列表',
    filedType: 'api'
  }
}
